const fs = require("fs");
const path = require("path");

let index = async (ctx,next) => {
    const file = fs.readFileSync(path.resolve(__dirname, '../../static/demo.html'),"utf-8")
    ctx.response.body = file;
}



module.exports = [
    {
        method: "get",
        handle: index,
        path: "/loveyueyang"
    }
]